﻿using LM_Shop.Models.Auctions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LM_Shop.Services.Auction
{
    //toDelete
    public static class AuctionServiceExtensions
    {
        public static int GetHighestCount(this IAuctionService auctionService)
        {
            return auctionService.GetAuctionList().Max(m => m.Count);
        }
    }
}